﻿using System;

class BoolIfBitIs1
{
    static void Main(string[] args)
    {
        Console.WriteLine("Vuvedete chislo za proverka:");
        int testNumber = int.Parse(Console.ReadLine());
        Console.WriteLine("Vuvedete poziciq na bit:");
        int bitPosition = int.Parse(Console.ReadLine());
        int mask = 1 << bitPosition;
        int NumberAndMask = testNumber & mask;
        int BitValue = NumberAndMask >> bitPosition;
        Console.WriteLine((BitValue == 1)? "True" : "False");
    }
}

